<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<script src="../assets/vue.js" type="text/javascript"></script>
	<title>propsData</title>
</head>
<body>
<h1>propsData</h1>
<hr/>
<header></header>
<script type="text/javascript">
	var header_a = Vue.extend({
		template:`<p>{{message}}-props a is :{{a}}</p>`,
		data:function(){
			return {
				message:'Hello,I am Header'
			}
		},
		props:['a']
	});
	new header_a({propsData:{a:1}}).$mount('header');
</script>
</body>
</html>